define([
  'Handlebars'
], function(Handlebars){
  function class_if(className, cond1, cond2) {
    return cond1 === cond2 ? className : "";  
  }
  Handlebars.registerHelper('class_if', class_if);

  return class_if;

});